package com.zbkj.crmeb.chant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.CommonPage;
import com.zbkj.crmeb.chant.model.ChannelMerchantExperience;
import com.zbkj.crmeb.chant.request.ChannelMerchantExperienceRequest;
import com.zbkj.crmeb.chant.response.ChannelMerchantExperienceResponse;

import java.util.List;

public interface ChannelMerchantExperienceService extends IService<ChannelMerchantExperience> {

    /**
     * 功能描述: 保存注册信息
     * @Param: [request]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2023/4/26 11:18
     */
    Boolean saveInfo(ChannelMerchantExperienceRequest request);

    /**
     * 功能描述: 获取体验商户列表
     * @Param: [request]
     * @Return: com.common.CommonPage<com.zbkj.crmeb.chant.response.ChannelMerchantExperienceResponse>
     * @Author: wangzh
     * @Date: 2023/4/26 11:18
     */
    CommonPage<ChannelMerchantExperienceResponse> getList(ChannelMerchantExperienceRequest request);

    /**
     * 功能描述: 变更类型
     * @Param: [merId, productType]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2023/4/26 13:39
     */
    Boolean changeExperienceType(Integer merId, Integer productType, Boolean flag);

}
